﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DQYT.HTDZ.Model;



namespace DQYT.HTDZ.ISinglewellEvaluationService
{
    /// <summary>
    /// 评价接口
    /// </summary>
    public interface IEvaluationService
    {
        /// <summary>
        /// 取待评价的数据
        /// </summary>
        /// <param name="ps"></param>
        /// <returns></returns>
        DataTable Gets(IEnumerable<KeyValuePair<string, string>> ps);

        /// <summary>
        /// 评价算法计算
        /// </summary>
        /// <param name="evalData"></param>
        /// <returns></returns>
        double Calculator(DataTable evalData);

        /// <summary>
        /// 计算值根据标准打分
        /// </summary>
        /// <param name="evalValue"></param>
        /// <returns></returns>
        EvaluationModel Evaluate(double evalValue);

        /// <summary>
        /// 评价名称
        /// </summary>
        string EvaluationName
        {
            get;
        }
    }
}
